﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.SqlClient;

/// <summary>
/// Summary description for Database
/// </summary>
public class Database
{
    //SqlConnection conn = null;
    public static String Connectionstring = "Data Source=TRUNGPHAMDU84B6;Initial Catalog=stationery;Persist Security Info=True;User ID=sa;Password=12345678";
	public Database()
	{
		//
		// TODO: Add constructor logic here
		//
	}
    public static SqlConnection GetConnection()
    {
        //conn = new SqlConnection("Data Source=MANH-PC;Initial Catalog=stationery;Persist Security Info=True;User ID=sa;Password=123456");
        return new SqlConnection(Connectionstring);
        //OpenConnection();
        //return conn;
        
    }
}